package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Dish;
import cn.usian.entity.DishDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface DishService {
    R<Page> page(int page, int pageSize, String name);

    void delete(Long[] ids);


    void status(Integer status, Long[] ids);


    void add(DishDto dishDto);

    R findByid(Long id);


    Long selectByName(String name);


    List<Dish> list(Long categoryId, String name);
}
